package com.thientan.model.enums;

/**
 * Cac trang thai cua mot hop dong.
 * 
 * @author DINH HONG CHAU
 * 
 */
public enum TrangThaiHopDong {
	DANG_TRA_GOP("DANG_TRA_GOP", "Đang trả góp"),
	DEN_HANG("DEN_HANG", "Đền hàng"),
	DONG("DONG", "Đóng"),
	KET_THUC("KET_THUC", "Kết thúc"),
	KHO_THU("KHO_THU", "Khó thu"),
	TIEN_MAT("TIEN_MAT", "Tiền mặt"), 
	TRA_HANG("TRA_HANG", "Trả hàng");
	
	private final String value;
	private final String displayText;

	TrangThaiHopDong(String value, String displayText) {
		this.value = value;
		this.displayText = displayText;
	}

	@Override
	public String toString() {
		return this.displayText;
	}

	public String getValue() {
		return value;
	}
}
